
.customModal{
  position: fixed;
  top: 50px;
  left: 15px;
  background-color: #fff;
  transform: translate3d(-100%,0,0);
  min-width:240px;
  opacity: 0;
  transition: .5s all ease;
  z-index: -1;
  border-radius: 2px 0 0 2px;
  box-shadow:0 0 5px 0 rgba(190,190,190,.5);
  text-align: left;
  &.up{
    transform:translate3d(0,0,0) ;
    opacity:1 ;
    z-index:2000 ;
  }
}
.cm-body{
  height: 48px;
  position: relative;
  border-radius: 2px 0 0 2px;
  &:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 2px 0 0 2px;
  }
  >p{
    line-height: 48px;
    width: 100%;
    font-size: 14px;
    padding: 0 27px;
    margin-bottom: 0;
    word-break:keep-all;
    white-space:nowrap;
  }
  i{
    margin-right: 20px;
    font-size: 20px;
  }
}
.fail{
  &:before{
    background-color:#FF6537;
  }
  >p{
    color:#FF6537;
  }
}
.success{
  &:before{
    background-color:#2B98F0;
  }
  >p{
    color:#2B98F0;
  }
}